package com.jy.modules.cims.data.interact.api.request;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

public class RequestCreditRedemptionListDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@NotBlank(message = "债权编号 creditCode 不能为空")
	private String creditCode; // 借款编号
	
	@NotBlank(message = "债权转让编号 transferId 不能为空")
	private String transferId; // 债权转让编号
	
	@NotNull(message = "赎回日期redeemDate 不能为空")
	private Date redeemDate;// 当期还款日
	
	@NotNull(message = "赎回价格 makeCreditorValue 不能为空")
	private BigDecimal makeCreditorValue;//赎回价格

	public String getCreditCode() {
		return creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}

	public String getTransferId() {
		return transferId;
	}

	public void setTransferId(String transferId) {
		this.transferId = transferId;
	}

	public Date getRedeemDate() {
		return redeemDate;
	}

	public void setRedeemDate(Date redeemDate) {
		this.redeemDate = redeemDate;
	}

	public BigDecimal getMakeCreditorValue() {
		return makeCreditorValue;
	}

	public void setMakeCreditorValue(BigDecimal makeCreditorValue) {
		this.makeCreditorValue = makeCreditorValue;
	}
}
